package model;
/**
 * this class is User Model  which saves the user Model fields data ,which extends AbstractModel
 * @author jacob
 *
 */
public class User extends AbstractModel {
	/**User id  */
	private String Uid;
	/**first name of user   */
	private String firstname = null;
	/**last name of user   */
	private String lasttname = null;
	/**phone of user  */
	private String phone = null;
	/**Area of user  */
	private String Area = null;
	/**email of user  */
	private String email = null;
	/** Age */
	private int Age = 0;
/**
 * full Constructor
 * @param Uid is user id
 * @param lasttname
 * @param firstname
 * @param phone
 * @param email
 * @param address
 * @param Age
 */
	public User(String Uid,String lasttname,String firstname,String phone,String email,String address,int Age){
		this.Uid = Uid;
		this.Area = address;
		this.email = email;
		this.firstname = firstname;
		this.lasttname = lasttname;
		this.phone = phone;
        this.Age = Age;
	}
	/**
	 * Constructor
	 * @param Uid
	 */
	public User(String Uid){
		this.Uid = Uid;
	}
	/**
	 * Constructor
	 * @param Uid
	 * @param Fname
	 * @param Lname
	 */
	public User(String Uid, String Fname , String Lname )
	{
		this.Uid = Uid;
		firstname = Fname;
		lasttname = Lname;
	}
	
	/**
	 * get User id
	 * @return String
	 */
	public String getUid() {
		return Uid;
	}
/**
 * set new user id
 * @param uid
 */
	public void setUid(String uid) {
		Uid = uid;
	}
/**
 * get first name of user
 * @return String
 */
	public String getFirstname() {
		return firstname;
	}
/**
 * set new first name of user
 * @param firstname
 */
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}
/**
 * get last name of user
 * @return String
 */
	public String getLasttname() {
		return lasttname;
	}
/**
 * set the new last name
 * @param lasttname
 */
	public void setLasttname(String lasttname) {
		this.lasttname = lasttname;
	}
/**
 *get Phone of user
 * @return String
 */
	public String getPhone() {
		return phone;
	}
/**
 * set new phone
 * @param phone
 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
/**
 * get the area of user
 * @return String
 */
	public String getArea() {
		return Area;
	}
/**
 * set the new Area
 * @param area
 */
	public void setArea(String area) {
		Area = area;
	}
/**
 * get the email of user
 * @return String
 */
	public String getEmail() {
		return email;
	}
/**
 * set new Email 
 * @param email
 */
	public void setEmail(String email) {
		this.email = email;
	}
/**
 * get Age of user
 * @return int
 */
	public int getAge() {
		return Age;
	}
/**
 * set new Age
 * @param age
 */
	public void setAge(int age) {
		Age = age;
	}
	
}
